package com.zhuss.core.company;

import org.springframework.stereotype.Component;

import com.zhuss.bean.bo.core.company.DetailDeptBo;
import com.zhuss.bean.bo.core.company.ListCompanyByTypeBo;
import com.zhuss.bean.bo.core.company.ListDeptByCompanyBo;
import com.zhuss.bean.bo.core.company.SearchDeptBo;
import com.zhuss.common.AbstractBo;
import com.zhuss.exception.WpsException;


/**
 * 公司查询service（拓展查询）
 * @author zhushanshuo
 * @Date 2020-02-05 15:59
 *
 */
@Component("companyReadServiceExt")
public class CompanyReadServiceExt extends CompanyReadService {
	
	
	/**
	 * 查询公司列表
	 * @throws WpsException 
	 */
	public Object listAll(AbstractBo bo) throws WpsException {

		return super.listAll(bo);
	}
	
	
	/**
	 * 根据公司类型查询公司列表
	 * @throws WpsException 
	 */
	public Object listByType(ListCompanyByTypeBo bo) throws WpsException {

		return super.listByType(bo);
	}
	
	/**
	 * 根据公司查询部门列表
	 * @throws WpsException 
	 */
	public Object listDeptByCompany(ListDeptByCompanyBo bo) throws WpsException {

		return super.listDeptByCompany(bo);
	}

	
	/**
	 * 公司的部门列表
	 * @throws WpsException 
	 */
	public Object deptList(SearchDeptBo bo) throws WpsException {

		return super.deptList(bo);
	}
	
	
	/**
	 * 部门详情
	 * @throws WpsException 
	 */
	public Object deptDetail(DetailDeptBo bo) throws WpsException {

		return super.deptDetail(bo);
	}


	
}

